<?php
/**
 * @Name: BaseLogic.php
 * @Author: yashuai<1762910894@qq.com>
 */

namespace App\Http\Logic;

use HugCode\PhpUnits\InstanceTool;

class BaseLogic
{

    use InstanceTool;

    /**
     * @Desc   判断参数是否存在并赋值
     * @param  array  $data
     * @param  array  $field
     * @return array
     * @author yashuai<1762910894@qq.com>
     */
    public function paramsIssetTableData(array $field = [], array $data = [])
    {
        return _params_isset_table_data($field, $this->params, $data);
    }


}
